package com.example.mylogin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mylogin.entity.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 功能描述：
 * </p>
 *
 * @author cui haida
 * @date 2025/06/05/22:13
 */
@Mapper
public interface UserMapper extends BaseMapper<Person> {
    public List<Person> getUserByCondition();

    @Select("select * from persons where logicDelete = 0 or logicDelete = 1")
    public List<Person> getUserByCondition2();
}
